require_dependency 'rails_generator/base'
require_dependency 'rails_generator/lookup'

# Here only to make the class instantiable in the console
require_dependency "rails_generator"

class ActsAsPersonGenerator < Rails::Generator::Base
  self.spec = Rails::Generator::Spec.new File.basename(__FILE__), __FILE__, nil

  def initialize(runtime_args, runtime_opts = {})
    super
  end
  def manifest
    record do |m|
      m.migration_template  "migration.rb",
                            "db/migrate",
                            :migration_file_name => "create_acts_as_person_table"
    end
  end

protected
  def banner
    "Usage: #{$0} acts_as_person"
  end

end
